package com.weixiao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixiao.domain.Goods;

import java.util.List;

public interface GoodsService extends IService<Goods> {
    //查询参与秒杀的商品
    List<Goods> selectSeckillGoods();

    //真实做秒杀的业务代码
    void realDoseckill(Integer userId, Integer goodsId);
}
